package com.springdemo.util;

import org.springframework.beans.BeanUtils;

/**
 * 拷贝entity类熟悉到vo类中
 * @author michael
 *
 */
public class CopyEntityToVo {

	/**
	 * 拷贝属性内容
	 * @param from
	 * @param to
	 */
	public static void copyPropeties(Object from,Object to){
		BeanUtils.copyProperties(from, to);
	}
	
}
